package cn.tedu.antconlonysever.contract.dao.persist.mapper;

import cn.tedu.antconlonysever.contract.pojo.entity.Contract;
import cn.tedu.antconlonysever.contract.pojo.vo.ContractListVo;
import cn.tedu.antconlonysever.contract.pojo.vo.ContractStandardVO;
import cn.tedu.antconlonysever.contract.pojo.vo.ContractToLoss;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ContractMapper extends BaseMapper<Contract> {
    int insertBatch(List<Contract> contracts);
    List<ContractListVo> list();
    ContractStandardVO getStandardById(long id);
    ContractStandardVO getStandardCusName(String cusName);

    List<ContractListVo> scheduleQueryList();

    ContractToLoss getContractToLossByName(String name);


}
